package cn.stylefeng.guns.modular.system.mapper;

import cn.stylefeng.guns.modular.system.entity.ZApplication;
import cn.stylefeng.guns.modular.system.model.params.ZApplicationParam;
import cn.stylefeng.guns.modular.system.model.result.ZApplicationResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  装修申请
 *  Mapper 接口
 * </p>
 *
 * @author yl
 * @since 2019-07-09
 */
@Repository
public interface ZApplicationMapper extends BaseMapper<ZApplication> {

    /**
     * 获取列表
     *
     * @author yl
     * @Date 2019-07-09
     */
    List<ZApplicationResult> customList(@Param("paramCondition") ZApplicationParam paramCondition);

    /**
     * 获取map列表
     *
     * @author yl
     * @Date 2019-07-09
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") ZApplicationParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author yl
     * @Date 2019-07-09
     */
    Page<ZApplicationResult> customPageList(@Param("page") Page page, @Param("paramCondition") ZApplicationParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author yl
     * @Date 2019-07-09
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") ZApplicationParam paramCondition);


    /**
     * 查询集合
     */
     List<ZApplication> QueryList(@Param("condition") String condition);


    /**
     * 根据id查询数据
     */
    List<ZApplicationResult> QueryZApplicationID(@Param("id") Long id);





}
